#![no_main]
#![no_std]

use cortex_m_rt::entry;
use rtt_target::rtt_init_print;
use stm32f1 as _;
use cmsis_rtos2::{self as _, os_kernel_initialize, os_kernel_start, system_init};
use task::app_task;

mod error;

mod task;
mod driver;

#[entry]
fn main() -> ! {
    rtt_init_print!();
    system_init();
    os_kernel_initialize();
    app_task::start();
    os_kernel_start();
    loop {}
}

